home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
dhhelper.zip
/
DEMO0.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-06-12
|
1KB
|
28 lines
Program DEMO0; {Simple demo of how to use the Help unit}
{=========================================================================
a) Use The Helper to compile DEMO0.HLS (supplied with The Helper), to
create the help file DEMO0.HLP.
b) Then run this program (DEMO0.PAS) with Turbo Pascal 4 or higher.
c) The units HELP.TPU, DOSSHELL.TPU and LIBRARY1.TPU should be available
in the current directory when Turbo Pascal compiles the program.
=========================================================================}
uses Help; {For access to Help utilities}
Var
fn : String; {The disk file name of the Help file to use}
BEGIN
SaveHelpBG; {Save the screen background}
fn:='demo0.hlp'; {Define the Help file name - it must have been }
{created previously with The Helper }
Initialise_Help(fn); {Initialise the Help file}
If HelpInitialised then Use_Help(0); {Use the Help file}
RestoreHelpBG; {Restore the original screen and end}
END.